package com.bss.converter;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.andy.basics.Converter;
import com.andy.basics.Dao;
import com.bss.dao.ProfessionDao;
import com.bss.model.Profession;

@Component
public class ProfessionConverter extends Converter<Profession> {

	@Autowired
	private ProfessionDao professionDao;

	public void setProfessionDao(ProfessionDao professionDao) {
		this.professionDao = professionDao;
	}

	@Override
	public Dao<Profession> getDao() {
		// TODO Auto-generated method stub
		return professionDao;
	}

}
